package com.konsung.util;

/**
 * 参数类型
 * 这些参数与AppDevice保持一致
 * 参数数值由协议指定
 * 目前只写了程序中使用到的部分趋势子参数的值
 * 后期可以在本类中增加相应的子参数
 * 这些值必须与协议保持一致
 */

public class KParamType {

    public static final int ECG = 0;
    public static final int ECG_I = 1;
    public static final int ECG_II = 2;
    public static final int ECG_III = 3;
    public static final int ECG_AVR = 4;
    public static final int ECG_AVL = 5;
    public static final int ECG_AVF = 6;
    public static final int ECG_V1 = 7;
    public static final int ECG_V2 = 8;
    public static final int ECG_V3 = 9;
    public static final int ECG_V4 = 10;
    public static final int ECG_V5 = 11;
    public static final int ECG_V6 = 12;

    // ECG趋势子参数
    public static final int ECG_HR = 14;
    public static final int ECG_PVC = 15;
    public static final int ECG_ST = 18;
    public static final int ECG_FALL_OFF = 504; //TODO 心电脱落(为啥是一样的？)
    public static final int ECG_NORMAL_CONNECTION = 504; //心电正常连接
    public static final short START_ECG_DIAGNOSE = (short) 0X15; //心电启动测量
    public static final int ECG_CONNECTION_STATUS = 0x10; //心电连接状态码标示
    public static final int ECG_ABNORMAL = 0x11; //心率失常标示
    //计算导联1导联为 0 ，2导联为 1 自动为10
    public static final int COUNT_ECG_I = 0;
    public static final int COUNT_ECG_II = 1;
    public static final int COUNT_ECG = 10;

    // resp趋势子参数
    public static final int RESP_RR = 102;

    // spo2趋势子参数
    public static final int SPO2_WAVE = 201;
    public static final int SPO2_TREND = 202;
    public static final int SPO2_PR = 203;

    // temp趋势子参数
    public static final int TEMP_T1 = 301;
    public static final int TEMP_T2 = 302;
    public static final int TEMP_TD = 303;

    // irTemp趋势子参数
    public static final int IRTEMP_TREND = 401; //红外耳温

    // nibp趋势子参数
    public static final int NIBP_SYS = 501; //收缩压
    public static final int NIBP_DIA = 502; //舒张压
    public static final int NIBP_MAP = 503;
    public static final int NIBP_PR = 504;

    // bloodGlu趋势子参数
    public static final int BLOODGLU_BEFORE_MEAL = 901;
    public static final int BLOODGLU_AFTER_MEAL = 902;

    // urineRt趋势子参数
    public static final int URINERT_LEU = 1201;
    public static final int URINERT_NIT = 1202;
    public static final int URINERT_UBG = 1203;
    public static final int URINERT_PRO = 1204;
    public static final int URINERT_PH = 1205;
    public static final int URINERT_BLD = 1206;
    public static final int URINERT_SG = 1207;
    public static final int URINERT_BIL = 1208;
    public static final int URINERT_KET = 1209;
    public static final int URINERT_GLU = 1210;
    public static final int URINERT_VC = 1211; //维生素c
    public static final int URINERT_ALB = 1212; //微量白蛋白
    public static final int URINERT_ASC = 1213; //抗坏血酸
    public static final int URINERT_CRE = 1214;
    public static final int URINERT_CA = 1215;
    public static final int URINERT_AC = 1216; //A:C值(U60 11+2尿机特有项)

    //bloodWbc趋势子参数
    public static final int BLOOD_WBC = 1401;

    public static final int BLOOD_HGB = 1402;
    public static final int BLOOD_HCT = 1403;

    //尿酸(百捷三合一)
    public static final int URICACID_TREND = 1001;
    //总胆固醇(百捷三合一)
    public static final int CHOLESTEROL_TREND = 1101;
    //血脂四项
    public static final int BLOOD_FAT_CHO = 1501;
    public static final int BLOOD_FAT_TRIG = 1502;
    public static final int BLOOD_FAT_HDL = 1503;
    public static final int BLOOD_FAT_LDL = 1504;

    public static final int WEIGHT = 2001;
    public static final int HEIGHT = 2002;
    public static final int BMI = 2003;

    //糖化
    //糖化血红蛋白值-NGSP标准
    public static final int GHB_HBA1C_NGSP = 1601;
    //糖化血红蛋白值-IFCC标准
    public static final int GHB_HBA1C_IFCC = 1602;
    //平均血糖浓度
    public static final int GHB_EAG = 1603;
}
